<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="${pageContext.request.contextPath}/styly.css" type="text/css" rel="stylesheet"/>
        <title><spring:message code="user.title"/></title>
    </head>
    <body>
        <div class="wrapper">
            <div class="header"><h1> <spring:message code="user.header"/></h1></div>
            <div class="navig">
                <%@ include file="../navig.jsp" %>
            </div>

            <div class="content">
                <h3><spring:message code="useredit.contentheader"/></h3>  
                <div style="color: green;">
                    <spring:message code="${userinfoMessage1}"/>
                </div>
                <form method="post" action="../pa165/zmena">
                    <div style="color: red;">
                        <spring:message code="${userMessage1}"/>
                        <spring:message code="${userMessage2}"/>
                        <spring:message code="${userMessage3}"/>
                    </div>
                    <b><spring:message code="user.username"/></b><input type="text" size="30" name="username" value="${employee.username}"/><br/>
                    <b><spring:message code="user.newpassword"/></b><input type="password" size="30" name="newpassword"/><br/>
                    <b><spring:message code="user.confirmpassword"/></b><input type="password" size="30" name="confirmpassword"/><br/>
                    <input type="submit" name="submit" value="<spring:message code="employeeedit.upravit"/>" />
                    <input type="button" name="button" value="<spring:message code="employeeedit.spat"/>" onCLick="history.back()" />
                </form>
            </div>
            <div class="footer">
                Team: Andrej Hraško, Ondřej Myška, Lukáš Slovák, Michal Polkoráb
            </div>
        </div>        
    </body>
</html>